home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Communication / NewsBase / Source / IBaseControl.h < prev    next >
Text File  |  1993-01-12  |  2KB  |  81 lines

  1. /*$Copyright:
  2.  * Copyright (C) 1992.5.22. Recruit Co.,Ltd. 
  3.  * Institute for Supercomputing Research
  4.  * All rights reserved.
  5.  * NewsBase  by ISR, Kazuto MIYAI, Gary ARAKAKI, Katsunori SUZUKI, Kok-meng Lue
  6.  *
  7.  * You may freely copy, distribute and reuse the code in this program under 
  8.  * following conditions.
  9.  * - to include this notice in the source code, if it is to be distributed 
  10.  *   with source code.
  11.  * - to add the file named "COPYING" within the code, which shall include 
  12.  *   GNU GENERAL PUBLIC LICENSE(*).
  13.  * - to display an acknowledgement in binary code as follows: "This product
  14.  *   includes software developed by Recruit Co.,Ltd., ISR."
  15.  * - to display a notice which shall state that the users may freely copy,
  16.  *   distribute and reuse the code in this program under GNU GENERAL PUBLIC
  17.  *   LICENSE(*)
  18.  * - to indicate the way to access the copy of GNU GENERAL PUBLIC LICENSE(*)
  19.  *
  20.  *   (*)GNU GENERAL PUBLIC LICENSE is stored in the file named COPYING
  21.  * 
  22.  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
  23.  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  24.  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  25. $*/
  26. /* IBaseControl.h */
  27.  
  28. #import <objc/Object.h>
  29. #import <appkit/Menu.h>
  30. #import <appkit/MenuCell.h>
  31. #import <objc/List.h>
  32. #import "IOrderedListD.h"
  33. #import "IFolderMatrix.h"
  34.  
  35. @interface IBaseControl:Object
  36. {
  37.     id        oMenuTitle;
  38.     id        oMainMenu;
  39.     id        oUnscribeNewsgroupMenuCell;
  40.     id        oShowAllArticleMenuCell;
  41.     id        oSortBySubjectMenuCell;
  42.     id        oSortByKeywordMenuCell;
  43.     id        oNewsgroupBrowserMenuCell;
  44.     id        oNewsgroupListMenuCell;
  45.     id        oArticleBrowserMenuCell;
  46.     id        oArticleListMenuCell;
  47.     id        oMarkAllArticleMenuCell;
  48.     id        oNewArticlesMenuCell;
  49.     id        nntpBase;
  50.     id        iHelpPanel;
  51.     id        iInfoPanel;
  52. }
  53.  
  54. - setOMainMenu:mainMenu;
  55.  
  56. - appDidInit:sender;
  57.  
  58. - appWillTerminate:sender;
  59.  
  60. - browserDidBecomeKey:sender;
  61.  
  62. - browserDidResignKey:sender;
  63.  
  64. // method for inter application communication
  65. - (int)receiveArticle:(char *)article length:(int)length;
  66. - (int)sendArticleWithMessageID:(const char *)messageID;
  67. - (int)makeMimeIconWindowAtpointX:(int)x pointY:(int)y 
  68.             offsetX:(int)offx offsetY:(int)offy
  69.             sourceWindow:(int)wnum;
  70.  
  71. - setOMainMenu:mainMenu;
  72.  
  73. - openHelpPanel:sender;
  74.  
  75. #ifdef DEBUG
  76. - (void)debug;
  77. #endif
  78.  
  79.  
  80. @end
  81.